package com.staci.webcat3.skin.actionbar
{
    import com.staci.webcat3.ui.model.Model;
    
    import flash.display.GradientType;
    import flash.geom.Matrix;
    import flash.text.TextFormatAlign;
    
    import flashx.textLayout.formats.VerticalAlign;
    
    import mx.core.DPIClassification;
    
    import org.osmf.layout.HorizontalAlign;
    
    import spark.components.Group;
    import spark.layouts.HorizontalLayout;
    import spark.skins.mobile.ActionBarSkin;
    
    public class SolidActionBarSkin extends ActionBarSkin
    {
		private static var _colorMatrix:Matrix;
		private static var _colorMatrixSize:Array = [0,0];
		
		public function SolidActionBarSkin()
		{
			super();
			
			borderClass = ActionBarBackground;
			layoutShadowHeight = 0;
			layoutContentGroupHeight = 43;
			layoutTitleGroupHorizontalPadding = 13;
		}
		
		/**
		 *  @private
		 */
		override protected function drawBackground(unscaledWidth:Number, unscaledHeight:Number):void
		{			
			graphics.beginFill(Model.getColor());
			graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
			graphics.endFill();
		}
    }
}